/*
 * IFileFormat.h
 *
 *  Created on: Dec 5, 2014
 *      Authors: Avihay Avitan & Stefan Farcas
 */
#include <string>
#include <stdlib.h>
#include <iostream>
#include <re2/re2.h>


#ifndef IFILEFORMAT_H_
#define IFILEFORMAT_H_
using namespace std ;

namespace TextFileParserSpace {

/**
 * IFileFormat - Defines the interface for implementing a file format to be parsed by text file parser
 */
class IFileFormat {
public:
	IFileFormat();
	virtual ~IFileFormat();
	/**
	 * getLineMatchedByFormat - method to return which line is matched to the given line
	 * line - the line that should be checked
	 */
	virtual int getLineMatchedByFormat(string line);

};

} /* namespace TextFileParserSpace */

#endif /* IFILEFORMAT_H_ */
